#ifndef CLogger_H
#define CLogger_H


#include "CMacros.h"




class CLogger :public CSingleTon<CLogger>
{
public:
	
	~CLogger();	
	 CLogger();
  
enum MessageType{MSG_EVENT,MSG_ERROR,MSG_SUCCEEDED,MSG_IMPORTANT};

	 void WriteLog(std::string Message,MessageType Type);
	 void WriteVector2(D3DXVECTOR2 vector);
	 void WriteVector3(D3DXVECTOR3 vector);	
	
	 void SetPageTitle(std::string PageTitle);
	 void SetHeadLine(std::string Headline);
	 void SetBackGroundColor(std::string backcolor);
	 void PutLink(std::string Link);		 
	
private:

	std::ofstream LogFile;
	
};
#endif